package com.mytomcat.catalina.container;

import com.mytomcat.catalina.valve.StandardHostValve;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 标准host
 *
 * @author supu
 * @date 2019-04-19 16:54
 **/
public class StandardHost extends ContainerBase {
    private static final Logger LOGGER = LoggerFactory.getLogger(StandardHost.class);


    public StandardHost() {
        pipeline.setBasic(new StandardHostValve());
    }

    @Override
    protected void startInternal() {
        LOGGER.info("StandardHost start");

        super.startInternal();
    }

    @Override
    protected void stopInternal() {
        LOGGER.info("StandardHost stop");
    }

    @Override
    protected void destroyInternal() {
        LOGGER.info("StandardHost destroy");
    }
}
